<?php echo link_to('Foglalasok', 'apartman/timeTable?id='.$apartman->getId()); ?>